home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / HyperCuber 2.0 Source / CColorPane.h < prev    next >
Encoding:
Text File  |  1993-08-27  |  709 b   |  29 lines  |  [TEXT/KAHL]

  1. //|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. //| CColorPane
  3. //|
  4. //| This is the interfact to a colored pane
  5. //|_________________________________________________________
  6.  
  7. #pragma once
  8.  
  9. #include <CPane.h>
  10.  
  11. CLASS CDirectorOwner;
  12.  
  13. class CColorPane : public CPane
  14.     {
  15.     
  16.     RGBColor pane_color;                //  Color to fill this pane with
  17.     
  18.   public:
  19.  
  20.     void    IColorPane(CView *anEnclosure, CBureaucrat *aSupervisor, short aWidth,
  21.                             short aHeight, short aHEncl, short aVEncl, SizingOption    aHSizing,
  22.                             SizingOption aVSizing, RGBColor *color);
  23.     void    Draw(Rect *area);
  24.     void    DoClick(Point hit, short modifierKeys, long when);
  25.     void    GetPaneColor(RGBColor *color);
  26.     void    SetPaneColor(RGBColor *color);
  27.  
  28.     };
  29.